package com.youlai.boot.modules.category.model;

import com.youlai.boot.common.base.BasePageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Schema(description = "分类分页查询对象")
@Data
@EqualsAndHashCode(callSuper = true)
public class CategoryPageQuery extends BasePageQuery {

    @Schema(description = "关键字(分类名称)")
    private String keywords;

    @Schema(description = "分类类型(1:行业大类 2:品种分类 3:商品分类)")
    private Integer type;

    @Schema(description = "是否在 App 首页展示", example = "1")
    private Integer showInHome;

    @Schema(description = "父级ID")
    private Long parentId;

    @Schema(description = "显示状态")
    private Integer showFlag;
}